LIRA: Handling Constraints of Linear Arithmetics over the Integers and the Reals
نویسندگان
چکیده
The mechanization of many verification tasks relies on efficient implementations of decision procedures for fragments of first-order logic. Interactive theorem provers like pvs also make use of such decision procedures to increase the level of automation. Our tool lira3 implements decision procedures based on automata-theoretic techniques for first-order logics with linear arithmetic, namely, for FO(N,+), FO(Z,+, <), and FO(R, Z,+, <). The theoretical foundations for using automata to decide logics like Presburger arithmetic, i.e., FO(N,+) were laid in the 1960s [4]: For Presburger arithmetic, the elements of the domain are represented by finite words, and for a given formula, one constructs recursively over the formula structure an automaton that accepts precisely the words that represent the natural numbers that satisfy the formula. Automata constructions handle the logical connectives and quantifiers. A similar approach works for FO(Z,+, <) and FO(R, Z,+, <). To represent reals, one uses infinite words. In [2], it is shown that weak deterministic Büchi automata (wdbas) suffice to decide FO(R, Z,+, <). wdbas are a restricted class of Büchi automata, which can be handled algorithmically almost as efficiently as deterministic finite automata (dfas). lira also provides an automata library that efficiently represents and manipulates dfas and wdbas. lira’s automata library can be compared to a bdd library for representing and manipulating finite sets encoded by booleans. Instead of bdds, lira uses dfas to represent and manipulate sets that are definable in FO(N,+) and FO(Z,+, <), and uses wdbas for sets definable in FO(R, Z,+, <). Efficiently representing and manipulating such definable sets has applications beyond deciding these logics efficiently. For instance, in the safety verification of integer-counter systems and hybrid systems one has to cope with such sets. Furthermore,
منابع مشابه
Representing Arithmetic Constraints with Automata: An Overview
Linear numerical constraints and their first-order theory, whether defined over the reals or the integers, are basic tools that appear in many areas of Computer Science. This paper overviews a set of techniques based on finite automata that lead to decision procedures and other useful algorithms, as well as to a normal form, for the first-order linear theory of the integers, of the reals, and o...
متن کاملRepresenting Arithmetic Constraints with Finite Automata: An Overview
Linear numerical constraints and their first-order theory, whether defined over the reals or the integers, are basic tools that appear in many areas of Computer Science. This paper overviews a set of techniques based on finite automata that lead to decision procedures and other useful algorithms, as well as to a normal form, for the first-order linear theory of the integers, of the reals, and o...
متن کاملclingo goes Linear Constraints over Reals and Integers
The recent series 5 of the ASP system clingo provides generic means to enhance basic Answer Set Programming (ASP) with theory reasoning capabilities. We instantiate this framework with different forms of linear constraints and elaborate upon its formal properties. Given this, we discuss the respective implementations, and present techniques for using these constraints in a reactive context. Mor...
متن کاملTermination of Linear Programs with Nonlinear Constraints
In [16] Tiwari proved that termination of linear programs (loops with linear loop conditions and updates) over the reals is decidable through Jordan forms and eigenvectors computation. In [4] Braverman proved that it is also decidable over the integers. In this paper, we consider the termination of loops with polynomial loop conditions and linear updates over the reals and integers. First, we p...
متن کاملraSAT: An SMT Solver for Polynomial Constraints
This paper presents the raSAT SMT solver for polynomial constraints, which aims to handle them over both reals and integers with simple unified methodologies: (1) raSAT loop for inequalities, which extends the interval constraint propagation with testing to accelerate SAT detection, and (2) a non-constructive reasoning for equations over reals, based on the generalized intermediate value theorem.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007